// 人气推荐的功能
import { ref } from 'vue'
import { findBrand } from '@/api/home'
export function useBrand () {
  const brandData = ref([])
  async function loadhotData () {
    const res = await findBrand()
    brandData.value = res.data.result
  }
  loadhotData()

  return {
    brandData
  }
}
